package com.danco.training.zaneuskaya.service.exception;
/**
 * @author Zaneuskaya Aliaksandra
 *
 */
public class UserException extends Exception {

	private static final String INCORRECT_PARAMETERS = "Incorrect parameters";

	/**
	 * 
	 */
	private static final long serialVersionUID = -5592300976947982948L;
	
	private String message = INCORRECT_PARAMETERS;
	
	public UserException(){
		super();
	}

	public UserException(String message) {

		super(message);

	}

	public UserException(Throwable cause) {
		super(cause);
	}

	public UserException(String message, Throwable cause) {
		super(message, cause);
	}

	public UserException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {

		super(message, cause, enableSuppression, writableStackTrace);

	}

	public String getMessage() {
		return message;
	}


}
